import Home from '../views/Home.vue'

const routes = [{
		path: '/',
		name: 'Home',
		component: Home,
		meta: {
			isShowTab: true,
			isShowNav: false,
			title: "首页",
		},

	},
	{
		path: "/Bargaining",
		name: 'Bargaining',
		component: () => import('../views/Bargaining.vue'),
		meta: {
			isShowNav: true,
			title: "全民砍价"
		}
	},
	{
		path: '/special',
		name: 'special',
		component: () => import('../views/special.vue'),
		meta: {
			isShowNav: true,
			isShowTab: true,
			title: "文章详情",

		}
	},
	{
		path: '/category',
		name: 'category',
		component: () => import('../views/category.vue'),
		meta: {
			isShowNav: false,
			isShowTab: true,
			title: "分类",
		
		}
	},{
		path: '/classifyxq',
		name: 'classifyxq',
		component: () => import('../views/classifyxq.vue'),
		meta: {
			isShowNav: true,
			isShowTab: true,
			title: "分类商品",
		
		}
		
	},
	{
		path: '/recommend',
		name: 'recommend',
		component: () => import('../views/recommend.vue'),
		meta: {
			isShowNav: true,
			isShowTab: false,
			title: "分类商品",
		
		}
	},{
		path:"/mine",
		name:"mine",
		component:()=> import('../views/mine.vue'),
		meta:{
			isShowNav: false,
			isShowTab: false,
			title: "我的",
		}
	},
	,{
		path:"/cart",
		name:"cart",
		component:()=> import('../views/cart.vue'),
		meta:{
			isShowNav: false,
			isShowTab: false,
			title: "购物车",
		}
	},{
		path:"/site",
		name:"site",
		component:()=> import('../views/site.vue'),
		meta:{
			isShowNav: false,
			isShowTab: true,
			title: "地址管理",
		}
	},
	{
		path:"/address",
		name:"address",
		component:()=> import('../views/address.vue'),
		meta:{
			isShowNav: false,
			isShowTab: true,
			title: "新增地址",
		}

	}
	
	


]

export default routes;
